<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>Renren Webcanvas Demo -- Feed</title>
  <script type="text/javascript" src="js/renren_js_sdk/renren.js"></script>
  <script type="text/javascript">
    function sendFeed() {
	  var uiOpts = {
		  url : "feed",
		  display : "iframe",
		  params : {
		    "url":"http://apps.renren.com/guakezhishu/welcome",
		    "name":"新鲜事测试，这里是标题",
		    "description":"现在我正在测试人人网新鲜事功能，不要理我",
		    "image":"http://at-img4.tdimg.com/board/2011/5/46465.jpg",
		    "action_name": "过来一起玩",
		    "action_link":"http://apps.renren.com/guakezhishu/welcome"
		  },
		  onSuccess: function(r){},
		  onFailure: function(r){} 
	  };
	  Renren.ui(uiOpts);
	}
  </script>
</head>
<body>
  <script type="text/javascript">Renren.init({appId:185783});</script>
  <a href="javascript:sendFeed();">点此发送新鲜事</a>
</body>
</html>